<template>
  <router-view v-slot="{ Component, route }">
    <keep-alive>
      <component :is="Component" />
    </keep-alive>
  </router-view>
</template>

<script setup lang="ts">
import { getCurrentInstance, onActivated, onDeactivated } from "vue";
const app = getCurrentInstance();
console.log(app.appContext.app.config.globalProperties);
</script>

<style scoped></style>
